
#ifndef _AUTH_H_
#define _AUTH_H_

#include "cpe.h"
#include "session.h"

enum evcpe_auth_type http_auth_get_type(char* authString);

int check_connection_request_auth(struct evcpe_url *creq_url, 
		enum evcpe_auth_type creq_auth, const char *auth_line);
char * http_auth_response_make_basic(struct evcpe_session *session);
#endif
